package com.zhijian.medical.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author HCG
 * @version 1.0
 * @date 2022/2/9
 */
@AllArgsConstructor
@Getter
public enum RoleNewEnum {

    XING_ZHENG_ZHU_REN("行政主任", Collections.singletonList(1L)),
    XING_ZHENG_FU_ZHU_REN("行政副主任", Arrays.asList(2L, 3L, 4L, 5L)),
    GONG_YING_SHANG("供应商", Arrays.asList(212L, 213L)),
    JIN_XIU_SHI_XI_JIAN_CE_FU_ZHU("进修、实习、检测辅助人员", Arrays.asList(40L, 41L, 42L, 43L, 44L, 45L, 46L, 47L, 48L, 49L, 50L,
            51L, 52L, 53L, 54L, 55L, 56L, 57L, 58L, 59L, 60L,
            61L, 62L, 63L, 64L, 65L, 66L, 67L, 68L, 69L, 70L, 71L, 72L)),
    SQKZ_RY("申请库存人员", Arrays.asList(18L, 19L,
            20L, 21L, 22L, 23L, 24L, 25L, 26L, 27L, 28L, 29L,
            30L, 31L, 32L, 33L, 34L, 35L, 36L, 37L, 38L, 39L,
            40L, 41L, 42L, 43L, 44L, 45L, 46L, 47L, 48L, 49L,
            50L, 51L, 52L, 53L, 54L, 55L, 56L, 57L, 58L, 59L,
            60L, 61L)),
    FIRST_APPROVE("第一步批准人员，设备试剂管理员", Arrays.asList(75L, 76L, 77L, 78L, 79L,
            80L, 81L, 82L, 83L, 84L, 85L, 86L, 87L, 88L, 89L,
            90L, 91L, 92L, 93L, 94L, 95L, 96L, 97L, 98L, 99L,
            100L, 101L, 102L, 103L, 104L, 105L, 106L, 107L, 108L, 109L,
            110L, 111L, 112L, 113L, 114L, 115L, 116L, 117L, 118L)),
    SECOND_APPROVE("第二步批准人员，亚专科主任", Arrays.asList(6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L)),
    THIRD_APPROVE("第三步批准人员，行政主任", Collections.singletonList(1L)),
    GPS("规培生", Collections.singletonList(218L)),
    JXS("进修生", Collections.singletonList(219L)),
    YJS("研究生", Collections.singletonList(220L)),
    FZRY("辅助人员", Collections.singletonList(223L)),
    ZXPXRY("专项培训人员", Collections.singletonList(224L)),
    SXS("实习生", Collections.singletonList(225L)),
    LH("轮转", Collections.singletonList(226L)),
    ZG("正高",Collections.singletonList(231L)),
    OTHER("其他（参观访问）", Collections.singletonList(227L));

    private String type;
    private List<Long> codes;

}
